Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement more copying APIs in pylibcudf #14508

Merged
merged 21 commits into from
Dec 15, 2023

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Nov 27, 2023

Description

This PR implements a handful of libcudf copying APIs in pylibcudf and rewrites cudf Cython internals to use those functions where appropriate. This PR only implements those methods that can be done without any additional changes to the pylibcudf Column class. I'll follow up with other PRs for changes that require those changes.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added feature request New feature or request 3 - Ready for Review Ready for review by team Python Affects Python cuDF API. non-breaking Non-breaking change labels Nov 27, 2023
@vyasr vyasr self-assigned this Nov 27, 2023
@vyasr vyasr requested review from a team as code owners November 27, 2023 23:34
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Nov 27, 2023
Copy link
Contributor

@vuule vuule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++ looks good :D

Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly small nits, looks good

python/cudf/cudf/_lib/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/cpp/copying.pxd Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/cpp/copying.pxd Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pyx Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pxd Show resolved Hide resolved
@vyasr
Copy link
Contributor Author

vyasr commented Nov 29, 2023

Whoops sorry @vuule I clicked on the wrong button and re-requested you unintentionally!

Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor (nonblocking) suggestions, LGTM!

python/cudf/cudf/_lib/pylibcudf/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pyx Outdated Show resolved Hide resolved
python/cudf/cudf/_lib/pylibcudf/copying.pyx Show resolved Hide resolved
python/cudf/cudf/_lib/types.pyx Show resolved Hide resolved
@vyasr
Copy link
Contributor Author

vyasr commented Dec 15, 2023

Approved offline with the current set of changes, going to merge now.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 15, 2023

/merge

@rapids-bot rapids-bot bot merged commit f4fbdd0 into rapidsai:branch-24.02 Dec 15, 2023
68 checks passed
@vyasr vyasr deleted the feat/pylibcudf_all_copying branch December 15, 2023 16:14
@vyasr vyasr added the pylibcudf Issues specific to the pylibcudf package label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.
Projects
Archived in project
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants